// 接口
export interface Person { name: string; age: number; }
export interface Person2 { name: string; }
// 自定义类型
export type PersonList = Array<Person>;
// export type PersonList = Person[];
